home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 1287 < prev    next >
Encoding:
Internet Message Format  |  1996-08-06  |  2.4 KB

  1. Path: s161.phxslip4.indirect.com!dschrage
  2. From: dschrage@indirect.com (Dan Schrage)
  3. Newsgroups: comp.edu,comp.lang.c,comp.lang.c++
  4. Subject: Re: C or C++ for a 14-year old?
  5. Date: Tue, 9 Jan 1996 21:31:33 MST
  6. Organization: Internet Direct, Inc.
  7. Message-ID: <dschrage.24.0B5400D7@indirect.com>
  8. References: <4b30ld$lp2$1@mhafc.production.compuserve.com> <qq4tu6nr5t.fsf@tartarus.ucsd.edu>
  9. NNTP-Posting-Host: s161.phxslip4.indirect.com
  10. X-Newsreader: Trumpet for Windows [Version 1.0 Rev B final beta #1]
  11.  
  12. >Why should the beginner struggle deciphering a few
  13. >pages of BASIC code, when they could breeze through the same amount
  14. >if it were written in a Pascal like language?
  15.  
  16. Why should a beginner learn Pascal with the intent of scrapping later for a 
  17. better language when he could just learn C/C++ from the beginning?  The 
  18. difference in difficulty of learning Pascal vs. C/C++ has been greatly 
  19. exaggerated in this thread (I really don't think there was any difference at 
  20. all--If anything, Pascal made it more difficult to learn C.)  
  21.  
  22. I still believe what I stated in my original post--it is pointless to learn 
  23. languages such as Pascal or BASIC when you can learn a much more powerful and 
  24. practical language such as C++ from the beginning without much of a difference 
  25. in the learning curve.
  26.  
  27. >[C program removed]
  28. >>       This *program* requires considerably more explanation. Also, if this 
  29. >> is not a C *interpreter* the student needs to know something about compilation 
  30. >> and may even need to know about files and linking.
  31.  
  32. >Yes, C isn't so great for the beginner.  Elementary Pascal programs
  33. >aren't so bad.  There's a little preamble, but simpler than C, and
  34. >far fewer "just do it that way, I'll explain later".
  35.  
  36. From my experience, it is not any harder to compile and run a simple C++ 
  37. program than a Pascal program (although my experience is based solely on Turbo 
  38. C++ and Borland C++).  As for the additional housekeeping tasks required in 
  39. C++, I think most of them (e.g. dynamic memory allocation) are not really 
  40. needed as a beginner.
  41.  
  42. C++ can appear intimidating to the beginner, but I don't think syntax alone 
  43. should scare off a beginner.  (If you really think about it, the main 
  44. difference between C++ and Pascal is really only the syntax.  The additional 
  45. features of C++ are not really needed as a beginner.)  
  46.  
  47. -------
  48. Dan
  49. "Sometimes I get the urge to study.  Then I lie down, and the urge subsides."
  50.